<ui:composition
		xmlns="http://www.w3.org/1999/xhtml"
		xmlns:h="http://java.sun.com/jsf/html"
		xmlns:f="http://java.sun.com/jsf/core"
		xmlns:a4j="http://richfaces.org/a4j"
		xmlns:rich="http://richfaces.org/rich"
		xmlns:ui="http://java.sun.com/jsf/facelets"
		xmlns:itdep="http://itdep.bsuir.by/jsf"
		>

	<h:panelGrid columns="3" width="380px">
		<h:outputText value="#{dictionaryBundle.collegeType}: " styleClass="fieldName"/>
		<itdep:entitySelectMenu id="#{idPrefix}CollegeType" value="#{record.collegeType}"
								entityType="college-type"
								styleClass="sizeCopmonent" format="{i18n.description}"/>
		<itdep:errorMessage for="#{idPrefix}CollegeType"/>

		<h:outputText value="#{commonBundle.fullName}" styleClass="requiredField"/>
		<h:inputText id="#{idPrefix}CollegeName" value="#{record.translations.fullName.value}"
					 required="true"
					 styleClass="sizeCopmonent"/>
		<itdep:errorMessage for="#{idPrefix}CollegeName"/>

		<h:outputText value="#{commonBundle.shortName}" styleClass="requiredField"/>
		<h:inputText value="#{record.translations.shortName.value}" required="true"
					 styleClass="sizeCopmonent"/>
		<rich:spacer/>

		<h:outputText value="#{addressBundle.city}" styleClass="requiredField"/>
		<itdep:entitySelectMenu value="#{record.city}" entityType="city"
								format="{name}" id="#{idPrefix}City" required="true"
								styleClass="sizeCopmonent"/>
		<itdep:errorMessage for="#{idPrefix}City"/>

	</h:panelGrid>


</ui:composition>
